Surfacing user-specific data records in search

ABSTRACT

Implementations of the present disclosure include actions of receiving search results that are responsive to the search query, the search results being respectively representative of resources, processing one or more triggering rules based on at least one of the search query and the search results, determining, based on processing the one or more triggering rules, that a set of data records is to be displayed in a search results page with the search results, the set of data records including data records that are specific to the user, determining a display prominence of at least one data record in the set of data records, the display prominence indicating a prominence of the at least one data record when displayed in the search results page, and providing the search results and the set of data records for display, the at least one data record being displayed based on the display prominence.

CROSS REFERENCE TO RELATED APPLICATIONS

This application is a continuation application of, and claims priorityto U.S. application Ser. No. 15/627,781, filed Jun. 20, 2017, titled“Surfacing User-Specific Data Records In Search,” which application is acontinuation application of, and claims priority to U.S. applicationSer. No. 14/096,183, filed Dec. 4, 2013, titled “Surfacing User-SpecificData Records In Search,” which application claims priority under 35U.S.C. § 119 to U.S. Provisional Patent Application Ser. No. 61/861,634,filed Aug. 2, 2013, titled “Surfacing User-Specific Data Records InSearch.” The disclosure of each of the foregoing applications isincorporated herein by reference.

BACKGROUND

This specification relates to displaying search results.

The Internet provides access to a wide variety of resources, such asimage files, audio files, video files, and web pages. A search systemcan identify resources in response to queries submitted by users andprovide information about the resources in a manner that is useful tothe users. The users then navigate through (e.g., click on) the searchresults to acquire information of interest to the users.

Users of search systems are often searching for information regarding aspecific entity. For example, users may want to learn about a singerthat they just heard on the radio. Conventionally, the user wouldinitiate a search for the singer and select from a list of searchresults determined to be relevant to the singer.

SUMMARY

Implementations of the present disclosure are generally directed todisplaying user-specific data records with search results. Moreparticularly, implementations of the present disclosure are directed todetermining that a set of data records is to be displayed with searchresults, and determining a display prominence of data records.

In general, innovative aspects of the subject matter described in thisspecification can be embodied in methods that include actions ofreceiving a search query, the search query being provided by a user,receiving one or more search results that are responsive to the searchquery, the one or more search results being respectively representativeof one or more resources, processing one or more triggering rules basedon at least one of the search query and the search results, determining,based on processing the one or more triggering rules, that a set of datarecords is to be displayed in a search results page with the searchresults, the set of data records including one or more data records thatare specific to the user, determining a display prominence of at leastone data record in the set of data records, the display prominenceindicating a prominence of the at least one data record when displayedin the search results page, and providing the search results and the setof data records for display, the at least one data record beingdisplayed based on the display prominence. Other implementations of thisaspect include corresponding systems, apparatus, and computer programs,configured to perform the actions of the methods, encoded on computerstorage devices.

These and other implementations can each optionally include one or moreof the following features: the display prominence indicates a positionof the at least one data record within the search results page; thedisplay prominence indicates a visual effect to the at least one datarecord within the search results page; determining a display prominenceincludes: determining at least one of a time and a date associated withthe at least one data record, and determining the display prominencebased on the at least one of a time and a date, and a threshold time;the display prominence is set to a first value in response to a timedifference exceeding the threshold time, the time difference beingdetermined based on the at least one of a time and a date, and thedisplay prominence is set to a second value in response to the timedifference not exceeding the threshold time; all data records in the setof data records is associated with the display prominence; a triggeringrule of the one or more triggering rules triggers display of the set ofdata records based on whether a knowledge panel is to be displayed inresponse to the search query; a triggering rule of the one or moretriggering rules triggers display of the set of data records based onwhether the search results include a personal search result and anelectronic document corresponding to the personal search results alsocorresponds to a data record; a triggering rule of the one or moretriggering rules triggers display of the set of data records based onwhether a term in the search query matches information provided in datarecords of a superset of data records that are specific to the user;providing the search results and the set of data records for displayincludes providing a search results display, the search results displaydisplaying the search results and the set of data records, the at leastone data record being displayed within the search results display basedon the display prominence.

Particular implementations of the subject matter described in thisspecification can be implemented so as to realize one or more of thefollowing advantages. In some examples, given a search query, e.g.,keyword, phrase, question, provided to a search system, a user's intentcan be determined and user-specific, e.g., personal, search results canbe provided, which are relevant to that user. In some examples, anintent of a user in submitting the search query can be determined basedon general search results, e.g., public search results that are notspecific to the particular user. In this manner, triggering of a displayof data records can more accurately reflect an intent of the user.

Other features, aspects, and advantages of the subject matter willbecome apparent from following description, drawings, and claims.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a block diagram of an example environment in which a searchsystem provides search services.

FIGS. 2A and 2B depict respective example search results displaysincluding data records.

FIG. 3 is a flowchart of an example process for data records in searchresults.

Like reference numbers and designations in the various drawings indicatelike elements.

DETAILED DESCRIPTION

FIG. 1 is a block diagram of an example environment 100 in which asearch system 120 provides search services. The example environment 100includes a network 102, e.g., a local area network (LAN), wide areanetwork (WAN), the Internet, or a combination thereof, connects websites 104, user devices 106, and the search system 120. In someexamples, the network 102 can be accessed over a wired and/or a wirelesscommunications link. For example, mobile computing devices, such assmartphones can utilize a cellular network to access the network. Theenvironment 100 may include millions of web sites 104 and user devices106.

In some examples, a web site 104 is provided as one or more resources105 associated with a domain name and hosted by one or more servers. Anexample web site is a collection of web pages formatted in anappropriate machine-readable language, e.g., hypertext markup language(HTML), that can contain text, images, multimedia content, andprogramming elements, e.g., scripts. Each web site 104 is maintained bya publisher, e.g., an entity that manages and/or owns the web site.

In some examples, a resource 105 is data provided over the network 102and that is associated with a resource address, e.g., a uniform resourcelocator (URL). In some examples, resources 105 that can be provided by aweb site 104 include web pages, word processing documents, and portabledocument format (PDF) documents, images, video, and feed sources, amongother appropriate digital content. The resources 105 can includecontent, e.g., words, phrases, images and sounds and may includeembedded information, e.g., meta information and hyperlinks, and/orembedded instructions, e.g., scripts.

In some examples, a user device 106 is an electronic device that isunder control of a user and is capable of requesting and receivingresources 105 over the network 102. Example user devices 106 includepersonal computers, mobile computing devices, e.g., smartphones and/ortablet computing devices that can send and receive data over the network102. As used throughout this document, the term mobile computing device(“mobile device”) refers to a user device that is configured tocommunicate over a mobile communications network. A smartphone, e.g., aphone that is enabled to communicate over the Internet, is an example ofa mobile device. A user device 106 typically includes a userapplication, e.g., a web browser, to facilitate the sending andreceiving of data over the network 102.

In some examples, to facilitate searching of resources 105, the searchsystem 120 identifies the resources 105 by crawling and indexing theresources 105 provided on web sites 104. Data about the resources 105can be indexed based on the resource to which the data corresponds. Theindexed and, optionally, cached copies of the resources 105 are storedin a search index 122.

The user devices 106 submit search queries 109 to the search system 120.In some examples, a user device 106 can include one or more inputmodalities. Example modalities can include a keyboard, a touchscreenand/or a microphone. For example, a user can use a keyboard and/ortouchscreen to type in a search query. As another example, a user canspeak a search query, the user speech being captured through amicrophone, and being processed through speech recognition to providethe search query.

In response to receiving a search query 109, the search system 120accesses the search index 122 to identify resources 105 that arerelevant to, e.g., have at least a minimum specified relevance scorefor, the search query 109. The search system 120 identifies theresources 105, generates a search results display 111 that includessearch results 112 identifying resources 105, and returns the searchresults display 111 to the user devices 106. In an example context, asearch results display can include one or more web pages, e.g., one ormore search results pages. In some examples, a web page can be providedbased on a web document that can be written in any appropriatemachine-readable language. It is contemplated, however, thatimplementations of the present disclosure can include other appropriatedisplay types. For example, the search results can be provided in adisplay generated by an application that is executed on a computingdevice, and/or a display generated by an operating system, e.g., mobileoperating system. In some examples, search results can be provided basedon any appropriate form, e.g., Javascript-html, plaintext.

A search result 112 is data generated by the search system 120 thatidentifies a resource 105 that is responsive to a particular searchquery, and includes a link to the resource 105. An example search result112 can include a web page title, a snippet of text or a portion of animage extracted from the web page, and the URL of the web page. In someexamples, data provided in the search results 112 can be retrieved froma resource data store. For example, the search system 120 can providethe search results display 111, which displays the search results 112.In some examples, the search results display 111 can be populated withinformation, e.g., a web page title, a snippet of text or a portion ofan image extracted from the web page, that is provided from the resourcedata store.

In some examples, data for the search queries 109 submitted during usersessions are stored in a data store, such as the historical data store124. For example, the search system 120 can store received searchqueries in the historical data store 124.

In some examples, selection data specifying actions taken in response tosearch results 112 provided in response to each search query 109 arealso stored in the historical data store 124, for example, by the searchsystem 120. These actions can include whether a search result 112 wasselected, e.g., clicked or hovered over with a pointer). The selectiondata can also include, for each selection of a search result 112, dataidentifying the search query 109 for which the search result 112 wasprovided.

In accordance with implementations of the present disclosure, theexample environment 100 also includes a data record system 130communicably coupled to the search system 120, e.g., directly coupled orcoupled over a network such as network 102. In some examples, the searchsystem 120 can interact with the data record system 130 to provide oneor more data records that are specific to the user that submitted thesearch query 109. In some examples, the data record system 130 canprovide data records that can be included within the search results 112based on data records stored in a data records data store 132. In someexamples, the data records data store 132 may include informationspecific to the user that submitted the search query 109. In someexamples, the data records data store 132 may include this data for manydifferent users. In some examples, the data records data store 132 maybe a dedicated data store specific to the user submitting the searchquery 109.

In some implementations, the data record system 130 may receive thesearch query and an identification of the user from the search system120. For example, the user can be logged into a search service thatprovides the search system 120. In response, the data record system 130can provide a set of data records to the search system 120. In someexamples, the set of data records can include one or more data records.

In some implementations, the data record system 130 can provide the setof data records that can be displayed in the search results display 111.In some examples, a display prominence of the one or more data recordswithin the search results display 111 is determined. In some examples,the search system 120 determines the display prominence. In someexamples, the data record system 130 determines the display prominence.In some examples, the display prominence can include a position of eachdata record within the search results display 111 and/or visual effectsthat can be added to data records within the search results display 111.For example, a data record can be displayed at a top portion of thesearch results display 111, e.g., above search results, such that thedata record is prominently displayed to the user. As another example,the data record can be displayed on a side portion, e.g.,left-hand-side, right-hand-side, of the search results display, suchthat the data record is less prominently displayed to the user, e.g.,relative to if the data record had been displayed in the top portion.

In some examples, the search system 120 generates a search resultdisplay 111 based on the retrieved digital content. In this manner, thesearch results 112, e.g., provided in the search results display 111,can be tailored to the user that submitted the search query 109.

In some examples, a data record can be specific to a user and can begenerated based on one or more electronic documents associated with theuser. For example, an electronic document can include data that can beused to populate a data record. Example electronic documents can includeelectronic mail messages, instant messages (IMs), short message system(SMS) messages, social networking posts, word processing documents,images, e.g., image recognition, optical character recognition,barcodes, electronic calendar items, electronic meeting invitations,audio transcripts, or other appropriate sources of information.

In some examples, an electronic document can be associated with acategory. Example categories can include travel, e.g., travelreservations, lodging, e.g., hotel reservations, commerce, e.g., productpurchases, events, e.g., theater performances, movies, concerts,sporting events, and restaurants, e.g., restaurant reservation. In someexamples, the electronic document can convey a booking confirmation,travel itinerary, hotel reservation confirmation, shipment notification,order tracking update, purchase receipt, restaurant reservationconfirmation, or other appropriate forms of data. In some examples, acategory of an electronic document can be determined based on anidentifier and/or data provided in the electronic document.

In some examples, a data record can be specific to a category, andfields in the plurality of fields can be relevant to the category. Forexample, the data record can be specific to the flight reservationcategory and can include category-specific data fields, e.g.,confirmation number, flight number, departure airport, arrival airport,departure date/time, arrival date/time. As another example, the datarecord can be specific to the hotel reservation category and can includecategory-specific data fields, e.g., reservation number, check-in date,check-out date, room rate, room type. As another example, the datarecord can be specific to the purchases category and can includecategory-specific data fields, e.g., product name, product identifier,quantity, cost, estimated shipping date, actual shipping date, trackingnumber.

The data record, once populated, is stored in a data repository, e.g.,the data records data store 132. In some implementations, the datarepository can include one or more tables in one or more databases, oneor more flat files, or combinations of these and any other appropriateformat for the storage and retrieval of information such as datarecords.

Implementations of the present disclosure are generally directed todetermining whether to display one or more data records in searchresults, and determining a display prominence associated with each datarecord. In some implementations, and as discussed in further detailherein, one or more triggering rules are provided, the triggering rulesbeing processed to determine whether one or more data records are to bedisplayed. In some examples, a search query and one or more data recordscan be processed to determine the display prominence of one or more datarecords that are to be displayed. In some examples, additional data canalso be processed to determine the display prominence.

Implementations of the present disclosure are discussed in furtherdetail herein with reference to an example context. The example contextincludes data records associated with the flight reservation category.It is contemplated, however, that implementations of the presentdisclosure can be provided in other contexts. For example,implementations of the present disclosure can be provided with datarecords associated with travel, e.g., the flight reservation category,lodging, e.g., hotel reservations, commerce, e.g., product purchases,events, e.g., theater performances, movies, concerts, sporting events,and restaurants, e.g., restaurant reservations.

User information, e.g., information about a user's social network,social actions or activities, profession, a user's preferences, a user'scurrent location, is collected or used by systems subject to userconsent. Users are given an opportunity to consent to whether the userinformation is collected. Users can select whether and/or how to receivecontent that may be more relevant to the user. In addition, certain datamay be treated in one or more ways before it is stored or used, so thatit is anonymized, so that personally identifiable information isremoved, and/or so that it is encrypted.

In accordance with implementations of the present disclosure, a user cansubmit a search query to a search service, e.g., the search query 109submitted to the search system 120. In some examples, the search queryand a superset of data records are processed to determine whether a setof data records is to be displayed. In some examples, the superset ofdata records includes data records that are specific to the user thatsubmitted the search query. In some examples, the set of data records isa sub-set of the superset of data records. In some examples, the set ofdata records includes one or more data records. In some examples, thesuperset of data records includes data records that are specific to auser, e.g., the user that submitted the search query.

In some examples, data records of the superset of data records can bedetermined to be relevant to the search query. If, for example, a datarecord is determined to be relevant to the search query, the data recordis included in the set of data records. With reference to the examplecontext, an example search query can include [flights]. In such anexample, a user intent may not be clear, e.g., an intent to retrieveuser-specific search results, or an intent to retrieve general searchresults. In some examples, the example search query can be morespecific, e.g., [flight from san francisco to austin], [generic airwaysflight]. In such an example, a user intent may be clear, e.g., an intentto retrieve user-specific search results. In response to the searchquery, data records that are relevant to flight reservations made by theuser can be provided in the set of data records.

In accordance with implementations of the present disclosure, whether adata record is relevant to a search query can be determined based on theone or more triggering rules. In some examples, a triggering ruledefines a set of conditions where, if each condition is true, one ormore data records from the superset of data records are included in theset of data records that are to be displayed. In some examples, the setof conditions can include one or more conditions. Example triggeringrules are discussed in further detail below with reference to theexample context. It is contemplated that example triggering rules can beapplicable in other contexts.

An example triggering rule can trigger display of a set of data recordsbased on whether a knowledge panel is to be displayed in response to thesearch query. In some examples, a knowledge panel system can process thesearch query and can determine whether a knowledge panel is to bedisplayed. In some examples, the knowledge panel system can provide asignal to the search system and/or the data record system, the signalindicating that a knowledge panel is to be displayed.

In some examples, a knowledge panel can be provided for queries thathave been determined to reference a particular entity, such as a person,place, country, landmark, animal, historical event, organization,business, sports team, sporting event, movie, song, album, game, work ofart, or any other appropriate entity. For example, one or more topicscan be determined from the submitted search query, and it can bedetermined that the one or more topics correspond to a topic, for whicha knowledge panel is available. In response, the knowledge panel can betriggered for display.

In general, a knowledge panel for a particular entity can includecontent related to the particular entity. In some implementations, aknowledge panel includes a set of factual information deemed relevant tothe particular entity. As one example, the example search query [AUSflights] can result in a knowledge panel being displayed in the searchresults. In this example, the knowledge panel can include contentreflecting airline flights to and/or from Austin, Tex., e.g., departurecities, arrival cities, flight durations, airlines.

The example triggering rule can provide that, if a knowledge panel is tobe displayed in response to the search query, and if information that isto be displayed in the knowledge panel corresponds to data provided indata records of the superset of data records, then a set of data recordsis to be displayed. Continuing with the example context, the examplesearch query [Austin flights] can be received. In some examples,additional terms can be provided. For example, the International AirTransport Association (IATA) airport code for Austin-BergstromInternational Airport can be provided, which is AUS. It can bedetermined that a knowledge panel is to be displayed. For example, asignal can be received, the signal indicating that a knowledge panel isto be displayed. In response to determining that a knowledge panel is tobe displayed, information can be compared to information provided indata records of the superset of data records. In the example context,the IATA code AUS can be compared to departure city and/or arrival cityinformation provided in data records. In this example, if the IATA codeAUS is provided in a data record, the data record is included in the setof data records to be displayed with the search results.

Another example triggering rule can trigger display of a set of datarecords based on whether a term in the search query matches informationprovided in data records of the superset of data records. In someexamples, a term in the search query is determined to match information,if the match is an exact match. Continuing with the example context, theexample search query [AUS flights] can be received. The search term AUScan be compared to IATA airport codes provided in data records. If adata record includes the IATA airport code AUS, e.g., as departureairport, as arrival airport, the data record is included in the set ofdata records to be displayed.

Another example triggering rule can trigger display of a set of datarecords based on search results that are to be provided in response tothe search query. In some examples, if information associated with oneor more search results corresponds to data provided in data records ofthe superset of data records, then a set of data records is to bedisplayed. Continuing with the example context, the example search query[Generic Airways] can be received, where “Generic Airways” is providedas a fictitious airline. Search results responsive to the example searchquery can be received. In some examples, it can be determined that awebsite associated with Generic Airways is provided in the searchresults, e.g., the official website for Generic Airways. In response, anIATA airline code for Generic Airways, e.g., GW, can be provided and canbe compared to IATA airline codes in data records of the superset ofdata records. If a data record includes the IATA airline code GA, thedata record is included in the set of data records to be displayed.

Continuing with the example context, another example triggering rule cantrigger display of a set of data records based on whether the searchquery includes a flight number that corresponds to flight informationprovided in data records of the superset of data records. In someexamples, if at least one of a flight number and an IATA airline code ofthe search query correspond to a data record, the data record isincluded in the set of data records that are to be displayed. In someexamples, if both the flight number and the IATA airline code of thesearch query correspond to a data record, the data record is included inthe set of data records that are to be displayed. The example searchquery [GA 432] can be received. The search terms GA and 432 can berespectively compared to flight numbers and/or IATA airline codesprovided in data records.

Another example triggering rule can trigger display of a set of datarecords based on whether the search query and/or search results that areresponsive to the search query are related to a category of the datarecords, whether search results that are responsive to the search querycorrespond to information provided in data records, and whether aknowledge panel is to be displayed. For example, the example triggeringrule can provide that, if the search query and/or the search results arerelated to a category of data records, if the search results correspondto information provided in data records, and if a knowledge panel is notto be displayed, then a set of data records are to be displayed. In thismanner, it can be implicitly determined whether the display of datarecords would be beneficial to the user based on the received searchquery and the search results that are responsive to the search query.

In some examples, the search query can be processed and one or morecategories associated with the search query can be identified. If acategory of the one or more categories matches a category of datarecords, discussed above, it can be determined that the search query isrelated to a category of the data records. In some examples, the searchresults that are to be displayed in response to the search query can beprocessed and one or more categories associated with the search resultscan be identified. If a category of the one or more categories matches acategory of data records, discussed above, it can be determined that thesearch query is related to a category of the data records.

In some examples, each search result can have one or more categoriesassociated therewith. For example, a website of an airline can beassociated with the flight category. Consequently, a search resultcorresponding to the website can be vicariously associated with theflight category. In some examples, category levels can be provided asprimary categories, secondary categories, or tertiary categories. Insome examples, each category level can be assigned a respective value,e.g., 2, 1, 0, respectively. In some examples, category levels of thesearch results can be summed to provide a total category level for thesearch results as a whole. As noted above, search results can beassociated with one or more categories. Consequently, respective one ormore total category levels can be provided.

In some examples, each total category level can be compared to athreshold category level to determine whether the search results, as awhole, correspond to the particular category. In some examples, if thecategory level exceeds the threshold category level, the search results,as a whole, are determined to be associated with the particularcategory.

In some examples, whether search results correspond to informationprovided in data records can be determined based on one or morelocations associated with individual search results. In some examples, asearch result can be associated with a location. In some examples, thelocation can be provided as a city, e.g., Austin. In some examples, thelocation can be provided as coordinates, e.g., latitude and longitude.In some examples, search results having a location that is determined tobe proximate to a location, from which the user submitted the searchquery are ignored. For example, the user can be located in San Franciscoand can submit the example search query [hiking trip to texas hillcountry]. Example search results that are responsive to the search querycan include search results associated with locations near central Texas,e.g., Texas hill country, as discussed below. In some examples, searchresults can also include search results associated with locations nearSan Francisco, e.g., a retailer that sells hiking equipment. In thisexample, the example triggering rule ignores search results that areproximate to the location, from which the user submitted the searchquery.

In some examples, a location score can be determined for each locationbased on proximity to another location. In some examples, the locationcan be determined based on a category that the search results aredetermined to correspond to, as discussed above. For example, if thesearch results are determined to correspond to the flight category, thelocation can include an airport. If, the location score exceeds athreshold score relative to another location that is in data records ofthe superset of data records, the search result can be determined tocorrespond to information provided in the data records. In someexamples, the search results, as a whole, are determined to correspondto information provided in the data records, if the number of searchresults that correspond to information provided in data records exceedsa threshold number of search results.

Continuing with the example context, the example search query [hikingtrip to texas hill country] can be received, and search results can beprovided. In some examples, the search results can be associated withhiking trails, parks, recreational facilities and/or outdoor equipmentretailers that are associated with the Texas hill country. One or moresearch results can be associated with a location, e.g., a city in whichan outdoor equipment retailer is located, a city in which and/orcoordinates at which a hiking trail is located. A location of anairport, e.g., AUS, can be determined and can be compared to locationsassociated with the search results to provide respective locationscores. In some examples, the airport is provided as an arrival airport,e.g., destination airport, that is provided in the data records.

In some examples, a location scoring service can process locationinformation to provide the location scores. In some examples, thelocation scores can be determined based on a distance between theairport, e.g., AUS, and the locations of the search results. In someexamples, a location that is near to the airport can have a higher scorethan a location that is further from the airport. In some examples, alocation score can range between a minimum value, e.g., 0, and a maximumvalue, e.g., 1. In some examples, if a distance between a locationassociated with a search result and the airport exceeds a firstthreshold difference, e.g., 100 miles, the location score for the searchresult is set equal to the minimum value. In some examples, if adistance between a location associated with a search result and theairport is below a second threshold difference, e.g., 10 miles, thelocation score for the search result is set equal to the maximum value.

Continuing with the example above, the example search query [hiking tripto texas hill country] can be received, and five example search resultscan be provided that are responsive to the search query. The fiveexample search results can include a first retailer located 8 miles fromAUS, a second retailer located 40 miles from AUS, a first recreationalarea located 70 miles from AUS, a second recreational area located 110miles from AUS, and a hiking trail located 50 miles from AUS. Respectivelocation scores can be provided for each of the example search results.For example, a first location score associated with the first retailercan be equal to a maximum value, e.g., 1, a second location scoreassociated with the second retailer can be equal to a value that isbetween the minimum value and the maximum value, a third location scoreassociated with the first recreational area can be equal to a value thatis between the minimum value and the maximum value, a fourth locationscore associated with the second recreational area can be equal to theminimum value, e.g., 0, and a fifth location score associated with thehiking trail can be equal to a value that is between the minimum valueand the maximum value.

As discussed above, each location score can be compared to a thresholdscore to determine whether the respective search result corresponds toinformation provided in the superset of data records. More particularly,if, the location score associated with a search result exceeds thethreshold score, the search result is determined to correspond toinformation provided in the data records. If, the location scoreassociated with a search result does not exceed the threshold score, thesearch result is determined not to correspond to information provided inthe data records. Continuing with the example above, it can bedetermined that the first location score, the second location score, thethird location score and the fifth location score each exceed thethreshold score. Consequently, the respective search results aredetermined to correspond to information provided in the data records.

As discussed above, it can be determined whether the search results, asa whole, correspond to information provided in the data records. Morespecifically, if the number of search results that correspond toinformation provided in data records exceeds a threshold number ofsearch results, it is determined that the search results, as a whole,correspond to information provided in the data records. Continuing withthe example above, an example threshold number of search results can beprovided as three. Because, in the example, it was determined that thefirst location score, the second location score, the third locationscore and the fifth location score each exceed the threshold score, thenumber of search results that correspond to information provided in datarecords is equal to four. Consequently, the number of search resultsexceeds the threshold number of search results, and it is determinedthat the search results, as a whole, correspond to information providedin the data records, and a set of data records is provided to bedisplayed in the search results.

Another example trigger rule can trigger display of a set of datarecords based on whether one or more search terms of the search queryexactly match one or more trigger keywords. In some examples, the one ormore trigger keywords can be provided for respective categories. In theexample context, example trigger keywords can include “flight,”“flights,” “my flight,” “my flights” “confirmation,” and “booking.” Insome examples, if the search query includes a trigger keyword, a set ofdata records is to be displayed with the search results.

In some implementations, the search results can include personal searchresults. In some examples, a personal search result can includeuser-specific content that is specific to the user that submitted thesearch query, and that is responsive to the search query. In someexamples, user-generated content can include content that is generatedusing one or more computer-implemented services. Examplecomputer-implemented services can include a social networking service,an electronic messaging service, a chat service, a micro-bloggingservice, a blogging service and a digital content sharing service. Insome examples, the user-generated content can include content that isprovided in electronic messages, chat sessions, posts to socialnetworking services, content posted to sharing services, e.g., photosharing services, and/or content posted to a blogging service.

In accordance with implementations of the present disclosure,user-specific content can be provided in an electronic document that wasused to generate one or more data records, as discussed above.Continuing with the example context, an electronic document can includea confirmation message sent from an airline to the user, confirming aflight that the user booked. In some examples, a data record for theflight can be provided based on the electronic document.

In view of this, another example triggering rule can trigger display ofa set of data records based on whether the search results includepersonal search results, and a personal search result corresponds touser-specific content that was used to provide a data record. Forexample, search results can include a personal search result that isrepresentative of an electronic document. It can be determined that adata record in the superset of data records was generated based on theelectronic document. Consequently, the data record can be included in aset of data records that are to be displayed with the search results.

As discussed above, one or more trigger rules can trigger display of aset of data records with search results, the set of data recordsincluding one or more data records. In some examples, a threshold numberof data records can be displayed. For example, it can be determined thatX data records could be displayed with the search results, but athreshold number of data records can include Y data records, wherein Yis less than X. Consequently, only Y data records of the X data recordsare provided in the set of data records that are to be displayed. Insome examples, data records that are included in the set of data recordscan be selected based on time. For example, data records can be providedin chronological order, e.g., based on departure date and time, and thefirst Y data records are included in the set of data records. In someexamples, the data records in the set of data records can be displayedin the chronological order.

In accordance with implementations of the present disclosure, after itis determined that one or more data records are to be displayed, adisplay prominence of each data record of the set of data records isdetermined. In some examples, every data record in the set of datarecords is assigned the same display prominence. In some examples, eachdata record in the set of data records has a data record-specificdisplay prominence. As introduced above, the display can include aposition of each data record within the search results display and/orvisual effects that can be added to data records within the searchresults display. For example, a data record can be displayed at a topportion of the search results display, e.g., above search results, suchthat the data record is prominently displayed to the user. As anotherexample, the data record can be displayed on a side portion, e.g.,left-hand-side, right-hand-side, of the search results display, suchthat the data record is less prominently displayed to the user, e.g.,relative to if the data record had been displayed in the top portion. Insome examples, visual effects can include highlighting, bolding,animating and/or any other appropriate visual effect that can draw auser's attention to data records within the search results display.

In some implementations, the display prominence is determined based onone or more times and/or dates associated with a respective data record.Example times and/or dates can include departure time/date of a flight,time/date for check-in at a hotel, and time/date of an event. In theexample context, the time and/or date is provided as the departuretime/date of a flight. In some examples, if the time/date associatedwith a data record exceeds a threshold time, e.g., provided in seconds,minutes, hours, and/or days, the display prominence is provided as afirst value, e.g., 0, indicating that the respective data record is notto be prominently displayed, e.g., displayed on a side portion of thesearch results display and/or without visual effects. In some examples,if the time/date associated with a data record does not exceed thethreshold time, the display prominence is provided as a second value,e.g., 1, indicating that the respective data record is to be displayedprominently, e.g., on a top portion of the search results display and/orwith visual effects.

FIGS. 2A and 2B depict respective example search results displays 200 a,200 b including data records 202, 204. In the examples of FIGS. 2A and2B, the search results displays 200 a, 200 b are provided as web pages,e.g., search results pages. Implementations of the present disclosure,however, can include other appropriate displays.

FIG. 2A depicts the example search results display 200 a including thedata records 202, 204 being displayed less prominently. Although theexample search results displays 200 a, 200 b are depicted inside a webbrowser, this is for context only and is not intended to limit the scopeof the present disclosure to any one web browser or even toimplementations involving serving a web page. The example search resultsdisplay 200 a includes a search box 206. In some implementations, thesearch box 206 may be a text box specified using an appropriatemachine-readable language, e.g., HTML. In implementations, the searchbox 206 may be a custom component specified by another suitable webdevelopment language such as Javascript. The illustrated search box 206includes a search query 208. In the depicted example, the search queryincludes [Generic Airways], which is the name of a fictitious airline,as discussed above. In some examples, the search query 208 may beentered by a user. In some examples, the search query 208 may beprogrammatically received through an application programmer interface(API) or other suitable means. The illustrated search box 206 is alsoassociated with a search button 210. In some examples, a user mayperform a search on the search query 208 by activating, e.g., clickingon, the search button 210. This activation may be performed by anyappropriate mechanism such as clicking the search button 210 with apointing device (e.g., a mouse) or pressing a key or combination of keyson a keyboard. In some examples, the search query 208 can beautomatically submitted as it is being entered.

The illustrated search results display 200 a also includes first userinformation 212. In the illustrated example, the first user information212 indicates that the user “john.searcher@mail.com” is currently loggedin. In accordance with implementations of the present disclosure, datarecords provided within search results will be specific to the userjohn.searcher@mail.com. In some implementations, the search resultsdisplay 200 a might not include an indication of the current user, butthe search query 208 may still be processed according to the currentuser.

The illustrated search results display 200 a also includes a searchresults pane 220 including one or more search results 222, 224, 226. Insome implementations, the search results pane 220 is a frame segregatingthe search results from other panes of the search results display 200 a.In some implementations, the search results pane 220 is provided as aconsecutive list of search results. The illustrated search resultsdisplay 200 a includes an auxiliary pane 230. The data records 202, 204are displayed within the auxiliary pane 230.

In the example of FIG. 2A, the search query 208 [Generic Airways] wasentered by the user and was processed by a search system, e.g., thesearch system 120 of FIG. 1, in view of one or more trigger rules. Basedon the one or more trigger rules, it was determined that a set of datarecords were to be displayed, and the data records 202, 204 wereincluded in the set of data records. In the example of FIG. 2A, theprominence level of the data records 202, 204 was set to the firstprominence level, discussed above. Consequently, the data records 202,204 are displayed in the auxiliary pane 230. For example, the flightthat is the subject of the data record 202 is scheduled to departapproximately 5 days from the time/date, at which the search query 208was submitted. Consequently, it was determined that the time/dateassociated with the data record exceeds a threshold time, e.g., 24hours, and the data record 202 is not prominently displayed. In thisexample, the data record 204 can inherit the display prominence of thedata record 204.

In the example of FIG. 2B, the search query 208 [Generic Airways] wasentered by the user and was processed by a search system, e.g., thesearch system 120 of FIG. 1, in view of one or more trigger rules. Basedon the one or more trigger rules, it was determined that a set of datarecords were to be displayed, and the data records 202, 204 wereincluded in the set of data records. Consequently, the data records 202,204 are displayed in the search results pane 220. In the example of FIG.2B, the prominence level of the data records 202, 204 was set to thesecond prominence level, discussed above. For example, the flight thatis the subject of the data record 202 is scheduled to departapproximately 22 hours from the time/date, at which the search query 208was submitted. Consequently, it was determined that the time/dateassociated with the data record did not exceed the threshold time, e.g.,24 hours, and the data record 202 is prominently displayed. In thisexample, the data record 204 can inherit the display prominence of thedata record 204. Further, the data record 202 now includes an actionelement 240. In this example, the action element 240 includes auser-selectable, e.g., clickable, button that enables the user tocheck-in for the flight that is the subject of the data record 202. Forexample, in response to user selection of the action element 240, theuser can navigate to a flight check-in website associated with GenericAirways.

FIG. 3 is a flowchart of an example process 300 for providingrecommended content in search results. In some examples, the process 300can be provided using one or more computer-executable programs that areexecuted using one or more computing devices. For example, process 300can be provided, for example, by the example environment 100 of FIG. 1.

A search query is received (302). For example, the search query can bereceived by the search system 120 of FIG. 1. Search results based on thesearch query are received (304). For example, the search system 120 canreceive search results that are responsive to the search query. One ormore trigger rules are processed based on the search query and/or thesearch results (306). For example, the search system 120 can process theone or more trigger rules based on the search query and/or the searchresults, as discussed in detail herein. It is determined whether a setof data records is to be displayed (308) with the search results. Forexample, the search system 120 can determine whether a set of datarecords is to be displayed. As discussed above, a set of trigger recordscan be displayed if at least one trigger rule of the one or more triggerrules triggers display of a set of data records.

If a set of data records is not to be displayed, a search resultsdisplay is generated without the set of data records (310). If a set ofdata records is to be displayed, relevant data records are included inthe set of data records and a display prominence is determined (312).For example, the search system 120 can provide the set of data records,e.g., by retrieving relevant data records from the data record system130, and can determine the display prominence, as discussed in detailherein. A search results display with the set of data records isgenerated (314). For example, the search system 120 can generate thesearch results display. The search results display is provided fordisplay (316). For example, the search system 120 can provide the searchresults display 111 for display on a user device 106.

Implementations of the subject matter and the operations described inthis specification can be realized in digital electronic circuitry, orin computer software, firmware, or hardware, including the structuresdisclosed in this specification and their structural equivalents, or incombinations of one or more of them. Implementations of the subjectmatter described in this specification can be realized using one or morecomputer programs, i.e., one or more modules of computer programinstructions, encoded on computer storage medium for execution by, or tocontrol the operation of, data processing apparatus. Alternatively or inaddition, the program instructions can be encoded on anartificially-generated propagated signal, e.g., a machine-generatedelectrical, optical, or electromagnetic signal that is generated toencode information for transmission to suitable receiver apparatus forexecution by a data processing apparatus. A computer storage medium canbe, or be included in, a computer-readable storage device, acomputer-readable storage substrate, a random or serial access memoryarray or device, or a combination of one or more of them. Moreover,while a computer storage medium is not a propagated signal, a computerstorage medium can be a source or destination of computer programinstructions encoded in an artificially-generated propagated signal. Thecomputer storage medium can also be, or be included in, one or moreseparate physical components or media (e.g., multiple CDs, disks, orother storage devices).

The operations described in this specification can be implemented asoperations performed by a data processing apparatus on data stored onone or more computer-readable storage devices or received from othersources.

The term “data processing apparatus” encompasses all kinds of apparatus,devices, and machines for processing data, including by way of example aprogrammable processor, a computer, a system on a chip, or multipleones, or combinations, of the foregoing The apparatus can includespecial purpose logic circuitry, e.g., an FPGA (field programmable gatearray) or an ASIC (application-specific integrated circuit). Theapparatus can also include, in addition to hardware, code that createsan execution environment for the computer program in question, e.g.,code that constitutes processor firmware, a protocol stack, a databasemanagement system, an operating system, a cross-platform runtimeenvironment, a virtual machine, or a combination of one or more of them.The apparatus and execution environment can realize various differentcomputing model infrastructures, such as web services, distributedcomputing and grid computing infrastructures.

A computer program (also known as a program, software, softwareapplication, script, or code) can be written in any form of programminglanguage, including compiled or interpreted languages, declarative orprocedural languages, and it can be deployed in any form, including as astand-alone program or as a module, component, subroutine, object, orother unit suitable for use in a computing environment. A computerprogram may, but need not, correspond to a file in a file system. Aprogram can be stored in a portion of a file that holds other programsor data (e.g., one or more scripts stored in a markup languagedocument), in a single file dedicated to the program in question, or inmultiple coordinated files (e.g., files that store one or more modules,sub-programs, or portions of code). A computer program can be deployedto be executed on one computer or on multiple computers that are locatedat one site or distributed across multiple sites and interconnected by acommunication network.

The processes and logic flows described in this specification can beperformed by one or more programmable processors executing one or morecomputer programs to perform actions by operating on input data andgenerating output. The processes and logic flows can also be performedby, and apparatus can also be implemented as, special purpose logiccircuitry, e.g., an FPGA (field programmable gate array) or an ASIC(application-specific integrated circuit).

Processors suitable for the execution of a computer program include, byway of example, both general and special purpose microprocessors, andany one or more processors of any kind of digital computer. Generally, aprocessor will receive instructions and data from a read-only memory ora random access memory or both. Elements of a computer can include aprocessor for performing actions in accordance with instructions and oneor more memory devices for storing instructions and data. Generally, acomputer will also include, or be operatively coupled to receive datafrom or transfer data to, or both, one or more mass storage devices forstoring data, e.g., magnetic, magneto-optical disks, or optical disks.However, a computer need not have such devices. Moreover, a computer canbe embedded in another device, e.g., a mobile telephone, a personaldigital assistant (PDA), a mobile audio or video player, a game console,a Global Positioning System (GPS) receiver, or a portable storage device(e.g., a universal serial bus (USB) flash drive), to name just a few.Devices suitable for storing computer program instructions and datainclude all forms of non-volatile memory, media and memory devices,including by way of example semiconductor memory devices, e.g., EPROM,EEPROM, and flash memory devices; magnetic disks, e.g., internal harddisks or removable disks; magneto-optical disks; and CD-ROM and DVD-ROMdisks. The processor and the memory can be supplemented by, orincorporated in, special purpose logic circuitry.

To provide for interaction with a user, implementations of the subjectmatter described in this specification can be implemented on a computerhaving a display device, e.g., a CRT (cathode ray tube) or LCD (liquidcrystal display) monitor, for displaying information to the user and akeyboard and a pointing device, e.g., a mouse or a trackball, by whichthe user can provide input to the computer. Other kinds of devices canbe used to provide for interaction with a user as well; for example,feedback provided to the user can be any form of sensory feedback, e.g.,visual feedback, auditory feedback, or tactile feedback; and input fromthe user can be received in any form, including acoustic, speech, ortactile input. In addition, a computer can interact with a user bysending documents to and receiving documents from a device that is usedby the user; for example, by sending web pages to a web browser on auser's client device in response to requests received from the webbrowser.

Implementations of the subject matter described in this specificationcan be implemented in a computing system that includes a back-endcomponent, e.g., as a data server, or that includes a middlewarecomponent, e.g., an application server, or that includes a front-endcomponent, e.g., a client computer having a graphical user interface ora Web browser through which a user can interact with an implementationof the subject matter described in this specification, or anycombination of one or more such back-end, middleware, or front-endcomponents. The components of the system can be interconnected by anyform or medium of digital data communication, e.g., a communicationnetwork. Examples of communication networks include a local area network(“LAN”) and a wide area network (“WAN”), an inter-network (e.g., theInternet), and peer-to-peer networks (e.g., ad hoc peer-to-peernetworks).

The computing system can include clients and servers. A client andserver are generally remote from each other and typically interactthrough a communication network. The relationship of client and serverarises by virtue of computer programs running on the respectivecomputers and having a client-server relationship to each other. In someimplementations, a server transmits data, e.g., web document, to aclient device, e.g., for purposes of displaying data to and receivinguser input from a user interacting with the client device. Datagenerated at the client device, e.g., a result of the user interaction,can be received from the client device at the server.

While this specification contains many specific implementation details,these should not be construed as limitations on the scope of anyimplementation of the present disclosure or of what may be claimed, butrather as descriptions of features specific to example implementations.Certain features that are described in this specification in the contextof separate implementations can also be implemented in combination in asingle implementation. Conversely, various features that are describedin the context of a single implementation can also be implemented inmultiple implementations separately or in any suitable sub-combination.Moreover, although features may be described above as acting in certaincombinations and even initially claimed as such, one or more featuresfrom a claimed combination can in some cases be excised from thecombination, and the claimed combination may be directed to asub-combination or variation of a sub-combination.

Similarly, while operations are depicted in the drawings in a particularorder, this should not be understood as requiring that such operationsbe performed in the particular order shown or in sequential order, orthat all illustrated operations be performed, to achieve desirableresults. In certain circumstances, multitasking and parallel processingmay be advantageous. Moreover, the separation of various systemcomponents in the implementations described above should not beunderstood as requiring such separation in all implementations, and itshould be understood that the described program components and systemscan generally be integrated together in a single software product orpackaged into multiple software products.

Thus, particular implementations of the subject matter have beendescribed. Other implementations are within the scope of the followingclaims. In some cases, the actions recited in the claims can beperformed in a different order and still achieve desirable results. Inaddition, the processes depicted in the accompanying figures do notnecessarily require the particular order shown, or sequential order, toachieve desirable results. In certain implementations, multitasking andparallel processing may be advantageous.

What is claimed is:
 1. A computer-implemented method executed by one ormore processors, the method comprising: receiving, by the one or moreprocessors, search queries, each search query being provided by a userat different times; determining a set of user-specific data records isto be displayed in a search results page with search results, the set ofuser-specific data records comprising one or more user-specific datarecords that are specific to the user that provided the search query andwherein each user-specific data record specifies an event made by theuser and a time of the event; determining, based on a difference betweenthe time of the event being in the future and a time that the query wasprovided, a display prominence of at least one user-specific data recordin the set of user-specific data records, the display prominencecomprising one of a plurality of locations within the search resultspage, and indicating a prominence of the at least one user-specific datarecord when displayed in the search results page, at least one locationbeing within a search results pane, within which the one or more searchresults are also displayed; when the determined display prominenceindicates the data record is not to be prominently displayed, providingthe search results and the set of user-specific data records for displayto the user device, wherein the data record does not include an actionelement that enables a user to take an action specific to the event, andthe data record is displayed in a first location relative to the searchresults; and when the determined display prominence indicates the datarecord is to be prominently displayed: including, with the data records,data that causes the action element to be displayed with the datarecord; and providing the search results and the set of user-specificdata records for display to the user device, wherein the data record isdisplayed in a second location relative to the search results anddifferent form the first location.
 2. The computer-implemented method ofclaim 1, wherein the display prominence indicates a position of the atleast one user-specific data record within the search results page. 3.The computer-implemented method of claim 1, wherein the displayprominence indicates a visual effect to the at least one user-specificdata record within the search results page.
 4. The computer-implementedmethod of claim 1, wherein all data records in the set of user-specificdata records is associated with the display prominence.
 5. Thecomputer-implemented method of claim 1, wherein providing the searchresults and the set of user-specific data records for display comprisesproviding a search results display, the search results displaydisplaying the search results and the set of user-specific data records,the at least one user-specific data record being displayed within thesearch results display based on the display prominence.
 6. Thecomputer-implemented method of claim 1, wherein the set of user-specificdata records are provided in chronological order based on a date and atime of each of the data records.
 7. The computer-implemented method ofclaim 1, wherein the action element is selectable by a user to completean action associated with the subject of the data record.
 8. A systemcomprising: a data store for storing data records; and one or moreprocessors configured to interact with the data store, the one or moreprocessors being further configured to perform operations comprising:receiving, by the one or more processors, search queries, each searchquery being provided by a user at different times; determining a set ofuser-specific data records is to be displayed in a search results pagewith search results, the set of user-specific data records comprisingone or more user-specific data records that are specific to the userthat provided the search query and wherein each user-specific datarecord specifies an event made by the user and a time of the event;determining, based on a difference between the time of the event beingin the future and a time that the query was provided, a displayprominence of at least one user-specific data record in the set ofuser-specific data records, the display prominence comprising one of aplurality of locations within the search results page, and indicating aprominence of the at least one user-specific data record when displayedin the search results page, at least one location being within a searchresults pane, within which the one or more search results are alsodisplayed; when the determined display prominence indicates the datarecord is not to be prominently displayed, providing the search resultsand the set of user-specific data records for display to the userdevice, wherein the data record does not include an action element thatenables a user to take an action specific to the event, and the datarecord is displayed in a first location relative to the search results;and when the determined display prominence indicates the data record isto be prominently displayed: including, with the data records, data thatcauses the action element to be displayed with the data record; andproviding the search results and the set of user-specific data recordsfor display to the user device, wherein the data record is displayed ina second location relative to the search results and different form thefirst location.
 9. The system of claim 8, wherein the display prominenceindicates a position of the at least one user-specific data recordwithin the search results page.
 10. The system of claim 8, wherein thedisplay prominence indicates a visual effect to the at least oneuser-specific data record within the search results page.
 11. The systemof claim 8, wherein all data records in the set of user-specific datarecords is associated with the display prominence.
 12. The system ofclaim 8, wherein providing the search results and the set ofuser-specific data records for display comprises providing a searchresults display, the search results display displaying the searchresults and the set of user-specific data records, the at least oneuser-specific data record being displayed within the search resultsdisplay based on the display prominence.
 13. The system of claim 8,wherein the set of user-specific data records are provided inchronological order based on a date and a time of each of the datarecords.
 14. The system of claim 8, wherein the action element isselectable by a user to complete an action associated with the subjectof the data record.
 15. A non-transitory computer storage medium encodedwith a computer program, the program comprising instruction that whenexecuted by data processing apparatus cause the data processingapparatus to perform operations comprising: receiving, by the one ormore processors, search queries, each search query being provided by auser at different times; determining a set of user-specific data recordsis to be displayed in a search results page with search results, the setof user-specific data records comprising one or more user-specific datarecords that are specific to the user that provided the search query andwherein each user-specific data record specifies an event made by theuser and a time of the event; determining, based on a difference betweenthe time of the event being in the future and a time that the query wasprovided, a display prominence of at least one user-specific data recordin the set of user-specific data records, the display prominencecomprising one of a plurality of locations within the search resultspage, and indicating a prominence of the at least one user-specific datarecord when displayed in the search results page, at least one locationbeing within a search results pane, within which the one or more searchresults are also displayed; when the determined display prominenceindicates the data record is not to be prominently displayed, providingthe search results and the set of user-specific data records for displayto the user device, wherein the data record does not include an actionelement that enables a user to take an action specific to the event, andthe data record is displayed in a first location relative to the searchresults; and when the determined display prominence indicates the datarecord is to be prominently displayed: including, with the data records,data that causes the action element to be displayed with the datarecord; and providing the search results and the set of user-specificdata records for display to the user device, wherein the data record isdisplayed in a second location relative to the search results anddifferent form the first location.